﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Runtime.Serialization;

namespace AppServices
{
	[DataContract]
	public class ProductsOnOrderFullInfoClass
	{
		public ProductsOnOrderFullInfoClass(ProductsOnOrderFullInfo info)
		{
			Address = info.Address;
			CompanyName = info.CompanyName;
			ContactName = info.ContactName;
			CustomerID = info.CustomerID;
			Discontinued = info.Discontinued;
			Discount = info.Discount;
			Expr1 = info.Expr1;
			Expr2 = info.Expr2;
			Expr3 = info.Expr3;
			Expr4 = info.Expr4;
			Freight = info.Freight;
			OrderDate = info.OrderDate;
			OrderID = info.OrderID;
			Phone = info.Phone;
			ProductID = info.ProductID;
			ProductName = info.ProductName;
			Quantity = info.Quantity;
			QuantityPerUnit = info.QuantityPerUnit;
			ReorderLevel = info.ReorderLevel;
			RequiredDate = info.RequiredDate;
			ShipAddress = info.ShipAddress;
			ShipName = info.ShipName;
			ShippedDate = info.ShippedDate;
			ShipVia = info.ShipVia;
			UnitPrice= info.UnitPrice;
			UnitsInStock = info.UnitsInStock;
			UnitsOnOrder = info.UnitsOnOrder;
		}

		[DataMember]
		public string Address
		{
			get;
			set;
		}
		[DataMember]
		public string CompanyName
		{
			get;
			set;
		}
		[DataMember]
		public string ContactName
		{
			get;
			set;
		}
		[DataMember]
		public string CustomerID
		{
			get;
			set;
		}
		[DataMember]
		public bool Discontinued
		{
			get;
			set;
		}
		[DataMember]
		public float Discount
		{
			get;
			set;
		}
		[DataMember]
		public int Expr1
		{
			get;
			set;
		}
		[DataMember]
		public int Expr2
		{
			get;
			set;
		}
		[DataMember]
		public decimal Expr3
		{
			get;
			set;
		}
		[DataMember]
		public string Expr4
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<decimal> Freight
		{
			get;
			set;
		}
		[DataMember]
		public byte[] Logo
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<DateTime> OrderDate
		{
			get;
			set;
		}
		[DataMember]
		public int OrderID
		{
			get;
			set;
		}
		[DataMember]
		public string Phone
		{
			get;
			set;
		}
		[DataMember]
		public int ProductID
		{
			get;
			set;
		}
		[DataMember]
		public string ProductName
		{
			get;
			set;
		}
		[DataMember]
		public short Quantity
		{
			get;
			set;
		}
		[DataMember]
		public string QuantityPerUnit
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<short> ReorderLevel
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<DateTime> RequiredDate
		{
			get;
			set;
		}
		[DataMember]
		public string ShipAddress
		{
			get;
			set;
		}
		[DataMember]
		public string ShipName
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<DateTime> ShippedDate
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<int> ShipVia
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<decimal> UnitPrice
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<short> UnitsInStock
		{
			get;
			set;
		}
		[DataMember]
		public Nullable<short> UnitsOnOrder
		{
			get;
			set;
		}
	}
}
